package com.dongdongshop.service;

import com.dongdongshop.page.PageResult;
import com.dongdongshop.pojo.TbSpecification;
import com.dongdongshop.vo.SpecVO;

import java.util.List;

public interface TbSpecificationService {
    PageResult listSpecifications(Integer pageNum, Integer pageSize,String name);

    void addSpecAndOptions(TbSpecification specification, String specOption);

    SpecVO selectSpecAndOptionById(Long id);

    void updateSpecAndSperOption(TbSpecification spec, String specOption);

    void deleteSpecs(Long[] ids);

    List<TbSpecification> listSpecAll();
}
